package cn.est.service;

import cn.est.dto.Page;
import cn.est.pojo.SmsLog;

import java.util.List;
import java.util.Map;

/**
 * Created by shang-pc on 2015/11/7.
 */
public interface SmsLogService {

    public SmsLog getSmsLogById(Long id);

    public List<SmsLog> getSmsLogListByMap(Map<String, Object> param);

    public Integer getSmsLogCountByMap(Map<String, Object> param);

    public Integer insertSmsLog(SmsLog smsLog);

    public Integer updateSmsLog(SmsLog smsLog);

    public Integer deleteSmsLogById(Long id);

    public Integer batchDeleteSmsLog(String ids);

    public Page<SmsLog> querySmsLogPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize);


    //发送短信验证码接口
    public void sendMessage(String phone,Integer codeType) throws Exception;
}
